#pragma once

#include <string>
#include <sstream>
using namespace std;

namespace libdmail
{
	namespace tool
	{
		int strtoupper(char* str);

		bool IsGB2312(char *str);

		string readStreamLine(stringstream *strStrm, int lineMaxLen, bool moreLine, bool *needMoreStr);
	}
}